package com.easy.service.impl;

import com.easy.bean.Course;
import com.easy.bean.Member;
import com.easy.mapper.CourseDao;
import com.easy.mapper.MemberDao;
import com.easy.service.CourseService;
import com.easy.service.MemberService;
import com.easy.util.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourseServiceImpl implements CourseService {
    @Autowired
    CourseDao courseDao;
    @Override
    public List<Course> all(Course course) {
        return courseDao.all(course);
    }
    @Override
    public Course add(Course course) {
        return null;
    }

    @Override
    public int del(Integer id) {
        return 0;
    }

    @Override
    public Course edit(Course course) {
        return null;
    }



    @Override
    public Course one(Integer id) {
        return null;
    }

    @Override
    public void page(Page page, Course course) {

    }
}
